package com.lvmama.core.dao;

import com.lvmama.core.bean.Travel;
import com.lvmama.core.bean.TravelQuery;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface TravelDao {
    int countByExample(TravelQuery example);

    int deleteByExample(TravelQuery example);

    int deleteByPrimaryKey(Integer travelId);

    int insert(Travel record);

    int insertSelective(Travel record);

    List<Travel> selectByExampleWithBLOBs(TravelQuery example);

    List<Travel> selectByExample(TravelQuery example);

    Travel selectByPrimaryKey(Integer travelId);

    int updateByExampleSelective(@Param("record") Travel record, @Param("example") TravelQuery example);

    int updateByExampleWithBLOBs(@Param("record") Travel record, @Param("example") TravelQuery example);

    int updateByExample(@Param("record") Travel record, @Param("example") TravelQuery example);

    int updateByPrimaryKeySelective(Travel record);

    int updateByPrimaryKeyWithBLOBs(Travel record);

    int updateByPrimaryKey(Travel record);
}